package com.picture.service;

import com.picture.pojo.dto.PictureStatusQueryDto;
import com.picture.pojo.dto.UserAssignDto;
import com.picture.pojo.entity.Picture;
import com.picture.pojo.entity.User;
import com.picture.pojo.vo.UserVo;
import com.picture.result.PageResult;
import com.picture.result.Result;

import java.util.List;

public interface UserPictureService {

    /**
     * 查询未被标记的图片
     * @return
     */
    Result<PageResult> listStatus(PictureStatusQueryDto pictureStatusQueryDto);

    /**
     * 查询有哪些用户
     * @return
     */
    Result<List<UserVo>> selectList();


    /**
     * 分配图片给用户
     * @param userAssignDto
     * @return
     */
    Result assignPicture(UserAssignDto userAssignDto);

    /**
     * 查询用户分配的图片
     * @return
     */
    Result<PageResult> selectPictureByUserId(PictureStatusQueryDto pictureStatusQueryDto);

}
